<template>
  <div>
    <img alt="Vue logo" src="../assets/logo.png" />
    {{currentRoute}}
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue';
import { useRoute } from 'vue-router';
const currentRoute = ref(useRoute().name)
</script>